#circle画图
import turtle

t = turtle.Pen()
turtle.bgcolor("black")
turtle.tracer(False)
xx =int(input("输入一个2-6的 数"))
colors=["red","yellow","green","blue","orange","purple"]

for x in range(60):
    t.pu()
    #t.forward((x+1)*2)
    t.forward(10)
    t.left(x+1)
    t.pd()
    t.pencolor(colors [x % xx])
    t.circle(x+1,steps=xx)
    #t.left(360/(x+1))
turtle.tracer(True)